package models

// WzjCaseCost 案件费用信息表
type WzjCaseCost struct {
	Id               int64  `gorm:"column:id;type:bigint(20);primary_key;AUTO_INCREMENT" json:"id"`
	CaseId           int64  `gorm:"column:case_id;type:bigint(20);comment:案件id" json:"case_id"`
	CostType         int32  `gorm:"column:cost_type;type:int(11);comment:费用类型" json:"cost_type"`
	CostAmount       string `gorm:"column:cost_amount;type:varchar(255);comment:费用金额" json:"cost_amount"`
	CostRemark       string `gorm:"column:cost_remark;type:varchar(255);comment:费用备注" json:"cost_remark"`
	CostCreateDate   int64  `gorm:"column:cost_create_date;type:bigint(20);comment:创建时间" json:"cost_create_date"`
	CostCreateUser   string `gorm:"column:cost_create_user;type:varchar(255);comment:费用创建人" json:"cost_create_user"`
	CostCreateUserId int64  `gorm:"column:cost_create_user_id;type:bigint(20);comment:费用创建人id" json:"cost_create_user_id"`
}

func (m *WzjCaseCost) TableName() string {
	return "wzj_case_cost"
}
